package com.huanmeiqi.demo.quartz.demo02;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * @author cq.Wang
 * @date 2018/6/13 17:31
 * @description
 */
public class AddJob extends QuartzJobBean {

    private Logger logger = LoggerFactory.getLogger(getClass());

    protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        logger.info("------this is add job-------");
    }
}
